package cn.luckdou.WeChat.model;


import cn.luckdou.WeChat.utils.MessageUtil;

import java.util.Map;

/**
 * @author Dadou 2017-12-5
 * 图片消息回复体
 */
public class ImageMessage extends BaseMessage {
    private Image Image;

    public Image getImage() {
        return Image;
    }

    public void setImage(Image image) {
        this.Image = image;
    }

    public ImageMessage(Map<String,String> map) {
        super.setMap(map, MessageUtil.RESP_MESSAGE_TYPE_IMAGE);
    }

    public ImageMessage(Image image,Map<String,String> map) {
        super.setMap(map, MessageUtil.RESP_MESSAGE_TYPE_IMAGE);
        this.Image = image;
    }
}
